#include "balcaolucaseduardo.h"
#include "gllib/Objects.h"
#include "caixaregistradoralucaseduardo.h"
#include <GL/glu.h>
#include "banquinholucaseduardo.h"





void  BalcaoLucasEduardo::draw()
{

    //OBS: POR OPERAÇOES DE ESCALA OU TRANSLATE ANTESA DO PUSH MATRIX


    glPushMatrix();

    CaixaRegistradoraLucaseduardo caixa;

	 glTranslatef(-0.5, 1.08, 0.0);
    caixa.draw();

    glPopMatrix();
    glPushMatrix();

    BanquinhoLucaseduardo banco;

    glTranslatef(-0.3,0.0,-0.7);
    banco.draw();

    glPopMatrix();

    /*
      POR UM GLSCALE AQUI!!! (ESCALAR O BANCO)
      */


    //INSTANCIAR BANCO

    /*
      POR UM GLSCALE AQUI!!! (ESCALAR O BALCAO
      */

    glTranslatef(0.0, 0.5, 0.0);


    glColor3f(0.5, 0.5, 0.5);

    glTranslatef(-0.6,0.0,0.0);

    glScalef(2.0,1.3,0.7);
    gllibCube(0.8);
    glScalef(0.5,0.76923,1.42857);

    glScalef(1.0,0.1,0.7);
    glTranslatef(1.2,4.8,0.0);
    gllibCube(0.8);
    glTranslatef(-1.2,-4.8,0.0);
    glScalef(1.0,10,1.42857);


    glScalef(0.8,1.3,0.7);
    glTranslatef(2.0,0.0,0.0);
    gllibCube(0.8);


    glScalef(0.7,1.0,1.5);
    glTranslatef(0.171,0.0,-0.6);
    gllibCube(0.8);


    glTranslatef(-3.981,0.0,0.0);
    glScalef(1.17,1.0,1.0);
    gllibCube(0.8);






}

